const express = require('express')
// 创建路由对象
const router = express.Router()

// 导入订单路由处理函数模块
const commentHandler = require('../router_handler/comment')

router.get('/getReviewMessage',commentHandler.getReviewMessage)

router.get('/getReviewImg/:order_id',commentHandler.getReviewImg)

router.get('/getComment/:order_id', commentHandler.getComment)

router.get('/delReviewMessage/:order_id',commentHandler.delReviewMessage)

router.get('/delReviewImg/:order_id',commentHandler.delReviewImg)

router.get('/delComment/:order_id', commentHandler.delComment)

// 将路由对象共享出去
module.exports = router